package com.onpositive.wiki3.db;

import java.util.Map;
import java.util.Set;

import com.carrotsearch.hppc.IntOpenHashSet;

public interface ICategoryAccess {

	public int[] getCategoryMembers(int categoryId,boolean deep);
	
	public Map<Integer,IntOpenHashSet> getCategoryMembers(IntOpenHashSet categoryId,boolean deep);
	
	public int[] getParentCategories(int pateId,boolean all);
	public int[] getAllCategoriesWithChilren();
	public int[] getAllRoots();
	
	public Set<String> getCategoryMembersAsTitles(int categoryId,boolean deep);
	
	public Set<String> getParentCategoriesAsTitles(int pateId,boolean all);
}
